﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Tasker.Common
{
    static class Environment
    {
        public static bool RunFromUnitTests
        {
            get { return HttpContext.Current == null; }
        }

        public static bool RunFromWebServer { get { return !RunFromUnitTests; } }
    }
}
